<div class="modal-header">
  <button type="button" class="close" ng-click="dismiss()">
    <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
  </button>
  <h3 class="modal-title text-center">收货地址编辑</h3>
</div>
<div class="modal-body" id="address-form">
  <div class="form-group">
    <label>收货人</label>
    <input class="form-control small-input" type="text" ng-model="addressInfo.name"/>
  </div>

  <div class="form-group" id="district">
    <label>所在地区</label>
    <div class="select-group">
      <!--省下来菜单-->
      <select class="form-control" ng-options="province.id as province.name for province in districtList.provinceList"
              ng-model="addressInfo.district.province.id" ng-change="districtListHandle.setCityList(addressInfo.district.province.id)">
        <option value="" ng-disabled="true">请选择</option>
      </select>
      <!--城市下来菜单-->
      <select class="form-control" ng-options="city.id as city.name for city in districtList.cityList"
              ng-model="addressInfo.district.city.id" ng-change="districtListHandle.setRegionList(addressInfo.district.province.id, addressInfo.district.city.id)">
        <option value="" ng-disabled="true">请选择</option>
      </select>
      <!--区下拉菜单-->
      <select class="form-control" ng-options="region.id as region.name for region in districtList.regionList"
              ng-model="addressInfo.district.region.id">
        <option value="" ng-disabeld="true">请选择</option>
      </select>

    </div>


  </div>
  <div class="form-group" id="location">
    <label>详细地址</label>
    <div class="location-group">
      <input class="form-control" type="text" ng-model="addressInfo.location"/>
    </div>
  </div>

  <div class="form-group">
    <label>手机</label>
    <input class="form-control small-input" type="text" ng-model="addressInfo.phone"/>
  </div>

  <div class="form-group">
    <label>邮编</label>
    <input class="form-control small-input" type="text" ng-model="addressInfo.postcode"/>
  </div>

  <div class="form-group">
    <div class="checkbox">
      <label>
        <input type="checkbox" ng-checked="addressInfo.default" ng-model="addressInfo.default"/> 设为默认收货地址
      </label>
    </div>
  </div>
</div>
<div class="modal-footer">
  <button type="submit" class="btn btn-primary" ng-click="ok()">确定</button>
  <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>
</div>